package com.example.complexrecyclerview;

import android.view.View;

import androidx.recyclerview.widget.RecyclerView;

/**
 * Created by Administrator on 2017/12/24.
 */
//抽出bindViewHolder方法
public abstract class TypeAbstractViewHolder<T> extends RecyclerView.ViewHolder {
    public TypeAbstractViewHolder(View itemView) {
        super(itemView);
    }
    //如果没有绑定的当然可以
    public abstract void bindViewHolder(T model); //3个type的抽象类 T =obj，不一定是哪个类
}
